﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Medianamik.Core;
using NUnit.Framework;

namespace Medianamik.Tests.Unit.Medianamik.Core
{
    [TestFixture]
    public class NodeWrapperTest
    {
        [Test]
        public void when_the_innernode_of_nodewrapper_is_set_to_null_an_argumentnullexception_should_be_thrown()
        {
            var nodeWrapper = new NodeWrapper();

            Assert.Throws<ArgumentNullException>(() => nodeWrapper.InnerNode = null);
        }
    }
}